<template>
  <div class="topic-list-page">
    <!-- 页面标题 -->
    <div class="page-header">
      <h1 class="main-title">选题列表查看</h1>
      <p class="sub-title" style="color: red">
        所有选题均有成品(包括完整源码+sql+论文+开题报告)，需要增加亮点或者修改开发请联系站长v：bysjbot
      </p>
    </div>

    <!-- 主要内容区域 -->
    <div class="content-wrapper">
      <div class="iframe-container">
        <iframe
          src="https://www.yuque.com/u34436096/vha5bt/td36esl532yruhvg"
          frameborder="0"
          class="iframe-content"
        ></iframe>
      </div>

      <!-- 站长微信二维码区域 -->
      <div class="wechat-container">
        <h3 class="wechat-title">站长微信二维码</h3>
        <img src="@/assets/wechat-qr.png" alt="站长微信二维码" class="wechat-img" />
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
</script>

<style scoped>
.topic-list-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding: 0;
}

.page-header {
  text-align: center;
  padding: 40px 20px 30px;
  background: #f5f5f5;
}

.main-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin: 0 0 10px 0;
}

.sub-title {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.content-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.iframe-container {
  background: white;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  flex: 1;
  height: 80vh;
}

.iframe-content {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.wechat-container {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  text-align: center;
  width: 260px;
  height: fit-content;
}

.wechat-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.wechat-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 6px;
}
</style>
